package com.guochaojava.model.enums;

/**
 * 返回码枚举类
 *
 * @author guochao
 */
public enum CodeMessageEnum {

    OK(200, "OK"), ERROR(500, "ERROR"),;

    private Integer code;
    private String message;

    CodeMessageEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
